// 缓存配置
import { LogConfig } from '/@types/Config/Log';

export default {
    isThrowOpen: true,
    options: {
        /**定义的错误分类 */
        error: {
            filename: 'Runtime/logs/error/error.log',//存储路径
            compress: true,//是否每天的压缩存储
            level: 'error',//最低存储等级
            maxLevel: 'fatal'//最高存储等级
        },
        info: {
            filename: 'Runtime/logs/CurrentLog.log',//存储路径
            compress: true,//是否每天的压缩存储
            level: 'info',//最低存储等级
            maxLevel: 'warn'//最高存储等级
        },
        console: {
            level: 'trace'//最低输出等级
        }
    }
} as LogConfig;


